﻿using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;

namespace PasteLoggerBoard.usermodels
{
    /// <summary>
    /// 接收配置
    /// </summary>
    public class WebHookLink : Entity<int>
    {
        /// <summary>
        /// 
        /// </summary>
        [MaxLength(16)]
        public string AppName { get; set; } = "";

        /// <summary>
        /// 哪个接收者
        /// </summary>
        public int WebHookerId { get; set; }

        /// <summary>
        /// 哪个消息层级 Information Warning Error Exception
        /// </summary>
        [MaxLength(16)]
        public string Level { get; set; } = "";

        /// <summary>
        /// 
        /// </summary>
        public bool IsEnable { get; set; } = true;

    }
}
